{% extends "base.html" %}
{#

Include a "title" block.

Put the content in the "torso" block.

Extract script tags can go into "extrahead" block.

#}

{% block body %}
<div id="doc3" class="yui-t2">
  <div id="hcp-doc" class="yui-skin-sam">

    <div id="hd">
      {% include "header.html" %}
    </div>

{% set nav_entries = [
  (url('hcp-users'), 'users'),
  (url('hcp-groups'), 'groups'),
  (url('hcp-domains'), 'domains'),
  (url('hcp-hosts'), 'hosts'),
  (url('hcp-mail-aliases'), 'mail_aliases'),
] %}

    <div id="bd">
      <div class="yui-b">
        <ul>
          {% for href, name in nav_entries %}
            <li><a href="{{ href }}"><img src="/images/{{ name }}{% if current_nav == name %}_selected{% endif %}.gif"></a></li>
          {% endfor %}
        </ul>
      </div>
      <div id="yui-main">
        <div class="yui-b">
            {% block torso %}{% endblock %}
        </div>
      </div>
    </div>

    <div id="ft">
      {% include "footer.html" %}
    </div>
  </div>
</div>

{% endblock body %}
